<template>
	<h2>{{msg}}</h2>
	
</template>

<script setup>
	import {ref,reactive} from 'vue'
	const msg=ref('全局组件')
</script>

<style scoped>
	h2{
		color: red;
	}
</style>